package chen.web.controller;

import chen.web.forum.WidgetType;
import chen.web.widget.vote.Vote;

public class WidgetTypeOption {
	
	public static boolean isVote(int type){
		Class<?> clazz = WidgetType.getWidgetClass(type);
		if(Vote.class.equals(clazz)){
			return true;
		}
		return false;
	}
}
